package fr.afcepf.atod18.utilitaires.dao;

import java.util.List;

public interface IGenericDao<T> {

	   T findOne(final int id);

	   List<T> findAll();

	   void save(final T entity);

	   T update(final T entity);

	   void delete(final T entity);

	   void deleteById(final int entityId);
	   
	   void deleteList(final List<T> list);
	   
	   List<T> findByName(String nomColonne, String valeur);
}